using System;

namespace Customs.Components.KDT.Khac.Info
{
    public class ToKhaiMauDichInfo
    {
        protected long _SoTiepNhan;
        protected DateTime _NgayTiepNhan = new DateTime(1900, 01, 01);
        protected string _MaHaiQuan = String.Empty;
        protected int _SoToKhai;
        protected string _MaLoaiHinh = String.Empty;
        protected DateTime _NgayDangKy = new DateTime(1900, 01, 01);
        protected string _MaDoanhNghiep = String.Empty;
        protected string _TenDoanhNghiep = String.Empty;
        protected string _MaDaiLyTTHQ = String.Empty;
        protected string _TenDaiLyTTHQ = String.Empty;
        protected string _TenDonViDoiTac = String.Empty;
        protected string _ChiTietDonViDoiTac = String.Empty;
        protected string _SoGiayPhep = String.Empty;
        protected DateTime _NgayGiayPhep = new DateTime(1900, 01, 01);
        protected DateTime _NgayHetHanGiayPhep = new DateTime(1900, 01, 01);
        protected string _SoHopDong = String.Empty;
        protected DateTime _NgayHopDong = new DateTime(1900, 01, 01);
        protected DateTime _NgayHetHanHopDong = new DateTime(1900, 01, 01);
        protected string _SoHoaDonThuongMai = String.Empty;
        protected DateTime _NgayHoaDonThuongMai = new DateTime(1900, 01, 01);
        protected string _PTVT_ID = String.Empty;
        protected string _SoHieuPTVT = String.Empty;
        protected DateTime _NgayDenPTVT = new DateTime(1900, 01, 01);
        protected string _QuocTichPTVT_ID = String.Empty;
        protected string _LoaiVanDon = String.Empty;
        protected string _SoVanDon = String.Empty;
        protected DateTime _NgayVanDon = new DateTime(1900, 01, 01);
        protected string _NuocXK_ID = String.Empty;
        protected string _NuocNK_ID = String.Empty;
        protected string _DiaDiemXepHang = String.Empty;
        protected string _CuaKhau_ID = String.Empty;
        protected string _DKGH_ID = String.Empty;
        protected string _NguyenTe_ID = String.Empty;
        protected decimal _TyGiaTinhThue;
        protected decimal _TyGiaUSD;
        protected string _PTTT_ID = String.Empty;
        protected short _SoHang;
        protected short _SoLuongPLTK;
        protected string _TenChuHang = String.Empty;
        protected decimal _SoContainer20;
        protected decimal _SoContainer40;
        protected decimal _SoKien;
        protected decimal _TrongLuong;
        protected decimal _TongTriGiaKhaiBao;
        protected decimal _TongTriGiaTinhThue;
        protected int _TrangThaiXuLy;
        protected string _LoaiToKhaiGiaCong = String.Empty;
        protected decimal _LePhiHaiQuan;
        protected decimal _PhiBaoHiem;
        protected decimal _PhiVanChuyen;
        protected decimal _PhiXepDoHang;
        protected decimal _PhiKhac;
        protected string _CanBoDangKy = String.Empty;
        protected bool _QuanLyMay;
        protected string _LoaiHangHoa= String.Empty;
        protected string _GiayTo = String.Empty;
        protected HangMauDichInfoCollection _HMDInfoCollection = new HangMauDichInfoCollection();
        protected ChungTuInfoCollection _ChungTuCollection = new ChungTuInfoCollection();

        //---------------------------------------------------------------------------------------------

        public long SoTiepNhan
        {
            set { this._SoTiepNhan = value; }
            get { return this._SoTiepNhan; }
        }
        public string GiayTo
        {
            set { this._GiayTo = value; }
            get { return this._GiayTo; }
        }

        public string LoaiHangHoa
        {
            set { this._LoaiHangHoa = value; }
            get { return this._LoaiHangHoa; }
        }
        public DateTime NgayTiepNhan
        {
            set { this._NgayTiepNhan = value; }
            get { return this._NgayTiepNhan; }
        }

        public string MaHaiQuan
        {
            set { this._MaHaiQuan = value; }
            get { return this._MaHaiQuan; }
        }

        public int SoToKhai
        {
            set { this._SoToKhai = value; }
            get { return this._SoToKhai; }
        }

        public string MaLoaiHinh
        {
            set { this._MaLoaiHinh = value; }
            get { return this._MaLoaiHinh; }
        }

        public DateTime NgayDangKy
        {
            set { this._NgayDangKy = value; }
            get { return this._NgayDangKy; }
        }

        public string MaDoanhNghiep
        {
            set { this._MaDoanhNghiep = value; }
            get { return this._MaDoanhNghiep; }
        }

        public string TenDoanhNghiep
        {
            set { this._TenDoanhNghiep = value; }
            get { return this._TenDoanhNghiep; }
        }

        public string MaDaiLyTTHQ
        {
            set { this._MaDaiLyTTHQ = value; }
            get { return this._MaDaiLyTTHQ; }
        }

        public string TenDaiLyTTHQ
        {
            set { this._TenDaiLyTTHQ = value; }
            get { return this._TenDaiLyTTHQ; }
        }

        public string TenDonViDoiTac
        {
            set { this._TenDonViDoiTac = value; }
            get { return this._TenDonViDoiTac; }
        }

        public string ChiTietDonViDoiTac
        {
            set { this._ChiTietDonViDoiTac = value; }
            get { return this._ChiTietDonViDoiTac; }
        }

        public string SoGiayPhep
        {
            set { this._SoGiayPhep = value; }
            get { return this._SoGiayPhep; }
        }

        public DateTime NgayGiayPhep
        {
            set { this._NgayGiayPhep = value; }
            get { return this._NgayGiayPhep; }
        }

        public DateTime NgayHetHanGiayPhep
        {
            set { this._NgayHetHanGiayPhep = value; }
            get { return this._NgayHetHanGiayPhep; }
        }

        public string SoHopDong
        {
            set { this._SoHopDong = value; }
            get { return this._SoHopDong; }
        }

        public DateTime NgayHopDong
        {
            set { this._NgayHopDong = value; }
            get { return this._NgayHopDong; }
        }

        public DateTime NgayHetHanHopDong
        {
            set { this._NgayHetHanHopDong = value; }
            get { return this._NgayHetHanHopDong; }
        }

        public string SoHoaDonThuongMai
        {
            set { this._SoHoaDonThuongMai = value; }
            get { return this._SoHoaDonThuongMai; }
        }

        public DateTime NgayHoaDonThuongMai
        {
            set { this._NgayHoaDonThuongMai = value; }
            get { return this._NgayHoaDonThuongMai; }
        }

        public string PTVT_ID
        {
            set { this._PTVT_ID = value; }
            get { return this._PTVT_ID; }
        }

        public string SoHieuPTVT
        {
            set { this._SoHieuPTVT = value; }
            get { return this._SoHieuPTVT; }
        }

        public DateTime NgayDenPTVT
        {
            set { this._NgayDenPTVT = value; }
            get { return this._NgayDenPTVT; }
        }

        public string QuocTichPTVT_ID
        {
            set { this._QuocTichPTVT_ID = value; }
            get { return this._QuocTichPTVT_ID; }
        }

        public string LoaiVanDon
        {
            set { this._LoaiVanDon = value; }
            get { return this._LoaiVanDon; }
        }

        public string SoVanDon
        {
            set { this._SoVanDon = value; }
            get { return this._SoVanDon; }
        }

        public DateTime NgayVanDon
        {
            set { this._NgayVanDon = value; }
            get { return this._NgayVanDon; }
        }

        public string NuocXK_ID
        {
            set { this._NuocXK_ID = value; }
            get { return this._NuocXK_ID; }
        }

        public string NuocNK_ID
        {
            set { this._NuocNK_ID = value; }
            get { return this._NuocNK_ID; }
        }

        public string DiaDiemXepHang
        {
            set { this._DiaDiemXepHang = value; }
            get { return this._DiaDiemXepHang; }
        }

        public string CuaKhau_ID
        {
            set { this._CuaKhau_ID = value; }
            get { return this._CuaKhau_ID; }
        }

        public string DKGH_ID
        {
            set { this._DKGH_ID = value; }
            get { return this._DKGH_ID; }
        }

        public string NguyenTe_ID
        {
            set { this._NguyenTe_ID = value; }
            get { return this._NguyenTe_ID; }
        }

        public decimal TyGiaTinhThue
        {
            set { this._TyGiaTinhThue = value; }
            get { return this._TyGiaTinhThue; }
        }

        public decimal TyGiaUSD
        {
            set { this._TyGiaUSD = value; }
            get { return this._TyGiaUSD; }
        }

        public string PTTT_ID
        {
            set { this._PTTT_ID = value; }
            get { return this._PTTT_ID; }
        }

        public short SoHang
        {
            set { this._SoHang = value; }
            get { return this._SoHang; }
        }

        public short SoLuongPLTK
        {
            set { this._SoLuongPLTK = value; }
            get { return this._SoLuongPLTK; }
        }

        public string TenChuHang
        {
            set { this._TenChuHang = value; }
            get { return this._TenChuHang; }
        }

        public decimal SoContainer20
        {
            set { this._SoContainer20 = value; }
            get { return this._SoContainer20; }
        }

        public decimal SoContainer40
        {
            set { this._SoContainer40 = value; }
            get { return this._SoContainer40; }
        }

        public decimal SoKien
        {
            set { this._SoKien = value; }
            get { return this._SoKien; }
        }

        public decimal TrongLuong
        {
            set { this._TrongLuong = value; }
            get { return this._TrongLuong; }
        }

        public decimal TongTriGiaKhaiBao
        {
            set { this._TongTriGiaKhaiBao = value; }
            get { return this._TongTriGiaKhaiBao; }
        }

        public decimal TongTriGiaTinhThue
        {
            set { this._TongTriGiaTinhThue = value; }
            get { return this._TongTriGiaTinhThue; }
        }

        public int TrangThaiXuLy
        {
            set { this._TrangThaiXuLy = value; }
            get { return this._TrangThaiXuLy; }
        }

        public string LoaiToKhaiGiaCong
        {
            set { this._LoaiToKhaiGiaCong = value; }
            get { return this._LoaiToKhaiGiaCong; }
        }

        public decimal LePhiHaiQuan
        {
            set { this._LePhiHaiQuan = value; }
            get { return this._LePhiHaiQuan; }
        }

        public decimal PhiBaoHiem
        {
            set { this._PhiBaoHiem = value; }
            get { return this._PhiBaoHiem; }
        }

        public decimal PhiVanChuyen
        {
            set { this._PhiVanChuyen = value; }
            get { return this._PhiVanChuyen; }
        }

        public decimal PhiXepDoHang
        {
            set { this._PhiXepDoHang = value; }
            get { return this._PhiXepDoHang; }
        }

        public decimal PhiKhac
        {
            set { this._PhiKhac = value; }
            get { return this._PhiKhac; }
        }

        public string CanBoDangKy
        {
            set { this._CanBoDangKy = value; }
            get { return this._CanBoDangKy; }
        }

        public bool QuanLyMay
        {
            set { this._QuanLyMay = value; }
            get { return this._QuanLyMay; }
        }

        //---------------------------------------------------------------------------------------------
        public string NhomLoaiHinh
        {
            get { return this._MaLoaiHinh.Trim().Length > 0 ? this._MaLoaiHinh.Substring(0, 3) : string.Empty; }
        }

        

        public HangMauDichInfoCollection HMDInfoCollection
        {
            set { this._HMDInfoCollection = value; }
            get { return this._HMDInfoCollection; }
        }
        public ChungTuInfoCollection ChungTuCollection
        {
            set { this._ChungTuCollection = value; }
            get { return this._ChungTuCollection; }
        }
    }
}